package com.oocl.crm.command.impl;

import com.oocl.crm.command.BaseReceiver;
import com.oocl.crm.command.Command;
import com.oocl.crm.exception.CrmException;

public class ConcreteCommand implements Command {
	
	private BaseReceiver receiver;
	
	public ConcreteCommand(BaseReceiver receiver) {
		this.receiver = receiver;
	}

	@Override
	public String execute() throws CrmException {
		return receiver.action();
	}

}
